package xyz.xtt.pay.client.request;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Positive;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author dale
 * @date 2025/1/17
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FetchUnPaidOrdersRequest {
    @Positive(message = "页码必须大于0")
    private long pageNo;
    @Positive(message = "每页条数必须大于0")
    @Max(value = 50L,message = "每页最多获取50条数据")
    private long pageSize;
}
